<%@ page language="java" contentType="text/html;charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>客房设施状态</title>
<style>
	table{
	width:700px;
	text-align: center;	
	color: #661e5b;
	}
	td{
	width:40px;
}
	.tittle{
	text-align: center;
	color: blue;
	font-size: 20px;	
}


</style>
</head>
<body>
	<form action="">
		<div align="center">
			<table>
			<tr class="tittle"><td colspan="5">房间客史资料</td></tr>
				<tr><td>房号</td><td>房客</td><td>入住时间</td><td>退房时间</td><td class="sugesst">留言建议</td></tr>
				<c:forEach items="${history}" var="item">
					<tr>
						<td><input type="hidden" class="roomName" value="${item.sRoomName}"/> ${item.sRoomName}</td>
						<td>${item.sUserName}</td>
						<td>${item.dtCheckinTime}</td>
						<td>${item.dtDepartureTime}</td>
						<td>${item.sSuggest}</td>
					</tr>
				</c:forEach>
			</table>
		</div>
	</form>
</body>
</html>